package 线程.接入接口Runnable;

public class MyRun implements Runnable{
    @Override
    public void run() {
        //获取当前当前的线程对象
        Thread t = Thread.currentThread();
        for (int i = 0; i < 100; i++) {
            System.out.println(t.getName()+"你好");
        }
    }
}
